package router

import (
	v1 "gin-vue-admin/api/v1"

	"github.com/gin-gonic/gin"
)

func InitCustomProcessBaseRouter(Router *gin.RouterGroup) {
	CustomProcessBaseRouter := Router.Group("customProcessBase")
	// CustomProcessBaseRouter := Router.Group("customProcessBase").Use(middleware.JWTAuth()).Use(middleware.CasbinHandler()).Use(middleware.OperationRecord())
	{
		CustomProcessBaseRouter.POST("createCustomProcessBase", v1.CreateCustomProcessBase)             // 新建CustomProcessBase
		CustomProcessBaseRouter.DELETE("deleteCustomProcessBase", v1.DeleteCustomProcessBase)           // 删除CustomProcessBase
		CustomProcessBaseRouter.DELETE("deleteCustomProcessBaseByIds", v1.DeleteCustomProcessBaseByIds) // 批量删除CustomProcessBase
		CustomProcessBaseRouter.PUT("updateCustomProcessBase", v1.UpdateCustomProcessBase)              // 更新CustomProcessBase
		CustomProcessBaseRouter.GET("findCustomProcessBase", v1.FindCustomProcessBase)                  // 根据ID获取CustomProcessBase
		CustomProcessBaseRouter.GET("getCustomProcessBaseList", v1.GetCustomProcessBaseList)            // 获取CustomProcessBase列表
	}
}
